<?php
/**
 * Created by PhpStorm.
 * User: Станислав
 * Date: 03.12.2014
 * Time: 20:57
 */
class core_controllers_index extends basecontroller
{
    function index()
    {
        require_once (TEMPLATE.'header.php');
        $res = DB::query('SELECT * FROM portfolio');
        $view = new router;
        require_once ($view->getView());
        require_once (TEMPLATE.'footer.php');
    }

}